<?php

/** 
* 
* 
* by:南宁火蝶科技有限公司 http:///www.HdsysCms.com
* 声明:本系统禁止用二次开发、侵犯HdsysCms著作和除去HdsysCms进行售卖,如发现将追究一切权利,模版制作属于自己所得可以通过本系统对外开发模版获取收益!
* 
* 2019年第一版本发布 - 到2023.9.1开源使用! 
* php混淆工具:phpencry.wbox.top
* 
* 注意防骗:@HdsysCms 官方没授权任何个人机构合作,唯一收款抬头:《南宁火蝶科技有限公司》和官网显示客服唯一渠道客服,其它渠道以HdsysCms名义行为均骗子!
*
*/
	

defined('HDSYS_SET') or call_my_die("" . 'Not,This File Not Can in Ie Open');
if (HDSYS_SET !='ADMIN') {
call_my_die("" . '访问路径错误');
}
class Content
{
public $intelligence_db,$intelligence_session;
public function __construct()
{
$this->intelligence_session=bs_lib::load_libhdsys_class("" . 'session');
$this->intelligence_session->intelligence_session_open();
$this->intelligence_db=bs_lib::load_libhdsys_class(templates_Verifications_db());
bs_lib::load_modules_common();
isadminlogin();
}
public function call_edit_table_ajax()
{
$param_id=set_post("" . 'id');
$field=set_post("" . 'field');
$param_sql="UPDATE `hdsys_content` SET `sort`='{$field}' WHERE `id`='{$param_id}';";
$param_tmp=$this->intelligence_db->intelligence_query($param_sql);
if ($param_tmp) {
print_json(array(call_my_str_code()=> call_my_int_1(), call_my_str_msg()=> '修改成功'));
} else {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '修改失败'));
}
}
public function call_table()
{
include bs_lib::load_default_path();
}
public function call_add()
{
$param_templates=call_my_get_page_list('content');
include bs_lib::load_default_path();
}
public function call_edit()
{
$param_id=set_get('id');
if (!$param_id) {
echo '错误路径id';
}
$param_sql="SELECT*FROM`hdsys_content`WHERE `id`='{$param_id}'  LIMIT 1";
$param_db_array_value=$this->intelligence_db->intelligence_array($param_sql);
if (!$param_db_array_value) {
echo '错误路径';
}
$param_templates=call_my_get_page_list('content');
include bs_lib::load_default_path();
}
public function call_del_ajax()
{
$param_id=set_post("" . 'id');
$param_sql="DELETE FROM `hdsys_content` WHERE `id`='{$param_id}'";
$param_tmp=$this->intelligence_db->intelligence_query($param_sql);
if ($param_tmp) {
print_json(array(call_my_str_code()=> call_my_int_1(), call_my_str_msg()=> '删除成功'));
} else {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '删除失败'));
}
}
public function call_add_ajax()
{
$param_pid=set_post("" . 'pid');
$seltree_select_input=set_post("" . 'seltree_select_input');
$param_name=set_post("" . 'name');
$param_ename=set_post("" . 'ename');
$param_template=set_post("" . 'template');
$param_static_url=set_post("" . 'static_url');
$param_seotitle=set_post("" . 'seotitle');
$param_seokeywords=set_post("" . 'seokeywords');
$param_seodescription=set_post("" . 'seodescription');
$param_eseotitle=set_post("" . 'eseotitle');
$param_eseokeywords=set_post("" . 'eseokeywords');
$param_eseodescription=set_post("" . 'eseodescription');
$param_markdown=htmltolashes(set_post("" . 'markdown'));
$param_emarkdown=htmltolashes(set_post("" . 'emarkdown'));
$param_content=htmltolashes(set_post("" . 'content'));
$param_econtent=htmltolashes(set_post("" . 'econtent'));
$param_hot=(int)set_post("" . 'hot');
$param_sdates=set_post("" . 'sdates');
$param_addtime=set_post("" . 'addtime');
$param_browse=(int)set_post("" . 'browse');
$param_album=set_post("" . 'album');
$param_attribute1=set_post("" . 'attribute1');
$param_attribute2=set_post("" . 'attribute2');
$param_attribute3=set_post("" . 'attribute3');
$param_attribute4=set_post("" . 'attribute4');
$param_eattribute1=set_post("" . 'eattribute1');
$param_eattribute2=set_post("" . 'eattribute2');
$param_eattribute3=set_post("" . 'eattribute3');
$param_eattribute4=set_post("" . 'eattribute4');
$param_modules=set_post("" . 'modules');
$param_emodules=set_post("" . 'emodules');
$param_graph=set_post("" . 'graph');
$param_url=set_post("" . 'url');
$param_eurl=set_post("" . 'eurl');
$param_modules=json_decode($param_modules);
$param_modules=addslashes(json_encode($param_modules,JSON_UNESCAPED_UNICODE));
$param_emodules=json_decode($param_emodules);
$param_emodules=addslashes(json_encode($param_emodules,JSON_UNESCAPED_UNICODE));
if ($param_template=='') {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '请选择视图模版'));
}
if ($param_name=='') {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '产品标题不能空'));
}
if ($param_pid==0) {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '请选择所属栏目'));
}
if ($param_static_url=='') {
$param_static_url=set_static_url('product');
}
if (my_static_url($param_static_url, 0)) {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '当前为静态URL连接已经存在数据库'));
}
if ($param_addtime=='') {
$param_addtime=HOST_DATE;
}
$param_addtime=strtotime($param_addtime);
$param_tmp=$this->intelligence_db->intelligence_insert(
"" . 'hdsys_content',
array(
"" . 'pid'=> $param_pid,
"" . 'template'=> $param_template,
"" . 'name'=> $param_name,
"" . 'browse'=> $param_browse,
"" . "sort"=> '0',
"" . "modules"=> $param_modules,
"" . "emodules"=> $param_emodules,
"" . "url"=> $param_url,
"" . "eurl"=> $param_eurl,
"" . 'ename'=> $param_ename, "" . 'add_time'=> $param_addtime, "" . 'static_url'=> $param_static_url, "" . 'sdates'=> $param_sdates
, "" . 'seokeywords'=> $param_seokeywords, "" . 'seodescription'=> $param_seodescription
, "" . 'eseokeywords'=> $param_eseokeywords, "" . 'eseodescription'=> $param_eseodescription, "" . 'hot'=> $param_hot,
"" . 'content'=> $param_content, "" . 'econtent'=> $param_econtent, "" . 'album'=> $param_album, "" . 'attribute1'=> $param_attribute1, "" . 'attribute2'=> $param_attribute2, "" . 'attribute3'=> $param_attribute3, "" . 'attribute4'=> $param_attribute4, "" . 'eattribute1'=> $param_eattribute1, "" . 'eattribute2'=> $param_eattribute2, "" . 'eattribute3'=> $param_eattribute3, "" . 'eattribute4'=> $param_eattribute4, "" . 'graph'=> $param_graph, "" . 'recommend'=> '0', "" . 'markdown'=> $param_markdown, "" . 'emarkdown'=> $param_emarkdown
)
);
if ($param_tmp) {
print_json(array(call_my_str_code()=> call_my_int_1(), call_my_str_msg()=> '添加成功'));
} else {
plug_query("ALTER TABLE `hdsys_content` ADD `modules` TEXT NULL COMMENT '自定义属性JSON' AFTER `eurl`, ADD `emodules` TEXT NULL COMMENT '英文自定义属性JSON' AFTER `modules`;");
plug_query('ALTER TABLE "hdsys_content" ADD COLUMN  "modules" TEXT');
plug_query('ALTER TABLE "hdsys_content" ADD COLUMN  "emodules" TEXT');
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '添加失败', 'sql'=> $this->intelligence_db->intelligence_sql()));
}
}
public function call_edit_ajax()
{
$param_id=set_post("" . 'id');
$param_pid=set_post("" . 'pid');
$param_name=set_post("" . 'name');
$param_ename=set_post("" . 'ename');
$param_template=set_post("" . 'template');
$param_static_url=set_post("" . 'static_url');
$param_seotitle=set_post("" . 'seotitle');
$param_seokeywords=set_post("" . 'seokeywords');
$param_seodescription=set_post("" . 'seodescription');
$param_eseotitle=set_post("" . 'eseotitle');
$param_eseokeywords=set_post("" . 'eseokeywords');
$param_eseodescription=set_post("" . 'eseodescription');
$param_markdown=htmltolashes(set_post("" . 'markdown'));
$param_emarkdown=htmltolashes(set_post("" . 'emarkdown'));
$param_content=htmltolashes(set_post("" . 'content'));
$param_econtent=htmltolashes(set_post("" . 'econtent'));
$param_hot=(int)set_post("" . 'hot');
$param_sdates=set_post("" . 'sdates');
$param_addtime=set_post("" . 'addtime');
$param_browse=(int)set_post("" . 'browse');
$param_album=set_post("" . 'album');
$param_attribute1=set_post("" . 'attribute1');
$param_attribute2=set_post("" . 'attribute2');
$param_attribute3=set_post("" . 'attribute3');
$param_attribute4=set_post("" . 'attribute4');
$param_eattribute1=set_post("" . 'eattribute1');
$param_eattribute2=set_post("" . 'eattribute2');
$param_eattribute3=set_post("" . 'eattribute3');
$param_eattribute4=set_post("" . 'eattribute4');
$param_modules=set_post("" . 'modules');
$param_emodules=set_post("" . 'emodules');
$param_url=set_post("" . 'url');
$param_eurl=set_post("" . 'eurl');
if ($param_template=='') {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '请选择视图模版'));
}
$param_graph=set_post("" . 'graph');
if ($param_name=='') {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '新闻标题不能空'));
}
if ($param_id=='') {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> 'ID不能空'));
}
if ($param_static_url=='') {
$param_static_url=set_static_url('product');
}
if (my_static_url($param_static_url, $param_id)) {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '当前为静态URL连接已经存在数据库'));
}
if ($param_pid==0) {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '请选择所属栏目'));
}
$param_sql="SELECT*FROM`hdsys_content`WHERE `id`='{$param_id}'  LIMIT 1";
$param_db_array_value=$this->intelligence_db->intelligence_array($param_sql);
$param_modules_josn=json_decode($param_db_array_value['modules'],1);
if($param_modules_josn==false){
$param_modules_josn=array();
}
$param_emodules_josn=json_decode($param_db_array_value['emodules'],1);
if($param_emodules_josn==false){
$param_emodules_josn=array();
}
$param_modules=json_decode($param_modules,1);
$param_modules=array_merge($param_modules_josn,$param_modules);
$param_modules=addslashes(json_encode($param_modules,JSON_UNESCAPED_UNICODE));
$param_emodules=json_decode($param_emodules,1);
$param_emodules=array_merge($param_emodules_josn,$param_emodules);
$param_emodules=addslashes(json_encode($param_emodules,JSON_UNESCAPED_UNICODE));
if ($param_addtime=='') {
$param_addtime=HOST_DATE;
}
$param_addtime=strtotime($param_addtime);
$param_tmp=$this->intelligence_db->intelligence_update(
'hdsys_content',
array(
"" . 'pid'=> $param_pid,
"" . 'template'=> $param_template,
"" . 'browse'=> $param_browse,
"" . "sort"=> '0',
"" . "modules"=> $param_modules,
"" . "emodules"=> $param_emodules,
"" . "url"=> $param_url,
"" . "eurl"=> $param_eurl,
"" . 'name'=> $param_name, "" . 'ename'=> $param_ename, "" . 'add_time'=> $param_addtime, "" . 'static_url'=> $param_static_url, "" . 'sdates'=> $param_sdates
, "" . 'seokeywords'=> $param_seokeywords, "" . 'seodescription'=> $param_seodescription
, "" . 'eseokeywords'=> $param_eseokeywords, "" . 'eseodescription'=> $param_eseodescription, "" . 'hot'=> $param_hot,
"" . 'content'=> $param_content, "" . 'econtent'=> $param_econtent, "" . 'album'=> $param_album, "" . 'attribute1'=> $param_attribute1, "" . 'attribute2'=> $param_attribute2, "" . 'attribute3'=> $param_attribute3, "" . 'attribute4'=> $param_attribute4, "" . 'eattribute1'=> $param_eattribute1, "" . 'eattribute2'=> $param_eattribute2, "" . 'eattribute3'=> $param_eattribute3, "" . 'eattribute4'=> $param_eattribute4, "" . 'graph'=> $param_graph, "" . 'recommend'=> '0', "" . 'markdown'=> $param_markdown, "" . 'emarkdown'=> $param_emarkdown
),
" id={$param_id} "
);
if ($param_tmp) {
print_json(array(call_my_str_code()=> call_my_int_1(), call_my_str_msg()=> '保存成功'));
} else {
print_json(array(call_my_str_code()=> call_my_int_aeg1(), call_my_str_msg()=> '保存失败', 'sql'=> $this->intelligence_db->intelligence_sql()));
}
}
public function call_table_ajax()
{
$param_FANYE=(int)set_get("" . 'page');
if ($param_FANYE > 0) {
$param_db_ID=$param_FANYE - 1;
} else {
$param_db_ID=0;
$param_FANYE=1;
}
$param_shu=set_get('limit');
if ($param_shu==0) {
$param_shu=10;
}
$param_db_ID=$param_db_ID * $param_shu;
$param_soso=set_get("" . 'soso');
$param_soso_id=(int)set_get("" . 'soso_id');
$param_DESC_id=(int)set_get("" . 'DESC');
$param_DESC_id==1 ? $param_DESC="" . 'ASC' : $param_DESC="" . 'DESC';
$param_sdates=set_get("" . 'sdates');
$param_hot=set_get("" . 'hot');
$param_where_sql="";
$param_seltree_select_nodeId=set_get("" . 'seltree_select_nodeId');
$param_seltree_select_nodeId=str_replace(',', '|', $param_seltree_select_nodeId);
if ($param_seltree_select_nodeId !='') {
if ($param_where_sql !='') {
$param_where_sql .=" AND ";
}
$param_where_sql .=" `pid`  regexp '{$param_seltree_select_nodeId}'  ";
}
if ($param_hot > 0) {
if ($param_where_sql !='') {
$param_where_sql .=" AND ";
}
$param_where_sql .=" `hot`  !='0'  ";
}
if ($param_sdates > 0) {
if ($param_where_sql !='') {
$param_where_sql .=" AND ";
}
$param_where_sql .=" `sdates`='{$param_sdates}'  ";
}
if ($param_soso !='') {
if ($param_soso_id==1) {
if ($param_where_sql=='') {
$param_where_sql .="  `name`  regexp '{$param_soso}' or `ename`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND( `name`  regexp '{$param_soso}' or `ename`  regexp '{$param_soso}'  )";
}
} else if ($param_soso_id==2) {
if ($param_where_sql !='') {
$param_where_sql .=" AND ";
}
$param_where_sql .=" `id`='$param_soso'  ";
} else if ($param_soso_id==3) {
if ($param_where_sql !='') {
$param_where_sql .=" AND ";
}
$param_where_sql .=" `static_url`  regexp '$param_soso'  ";
} else if ($param_soso_id==4) {
if ($param_where_sql=='') {
$param_where_sql .="  `content`  regexp '{$param_soso}' or `econtent`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND( `content`  regexp '{$param_soso}' or `econtent`  regexp '{$param_soso}'  )";
}
} else if ($param_soso_id==5) {
if ($param_where_sql=='') {
$param_where_sql .="  `seokeywords`  regexp '{$param_soso}' or `eseokeywords`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND( `seokeywords`  regexp '{$param_soso}' or `eseokeywords`  regexp '{$param_soso}'  )";
}
} else if ($param_soso_id==6) {
if ($param_where_sql=='') {
$param_where_sql .="  `seodescription`  regexp '{$param_soso}' or `eseodescription`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND( `seodescription`  regexp '{$param_soso}' or `eseodescription`  regexp '{$param_soso}'  )";
}
} else if ($param_soso_id==7) {
if ($param_where_sql=='') {
$param_where_sql .="  `attribute1`  regexp '{$param_soso}' or `eattribute1`  regexp '{$param_soso}' or `attribute2`  regexp '{$param_soso}' or `eattribute2`  regexp '{$param_soso}' or `attribute3`  regexp '{$param_soso}' or `eattribute3`  regexp '{$param_soso}' or `attribute4`  regexp '{$param_soso}' or `eattribute4`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND( `attribute1`  regexp '{$param_soso}' or `eattribute1`  regexp '{$param_soso}' or `attribute2`  regexp '{$param_soso}' or `eattribute2`  regexp '{$param_soso}' or `attribute3`  regexp '{$param_soso}' or `eattribute3`  regexp '{$param_soso}' or `attribute4`  regexp '{$param_soso}' or `eattribute4`  regexp '{$param_soso}'  )";
}
} else {
if ($param_where_sql=='') {
$param_where_sql .="  `content`  regexp '{$param_soso}' or `econtent`  regexp '{$param_soso}' or `name`  regexp '{$param_soso}' or `ename`  regexp '{$param_soso}' or  `attribute1`  regexp '{$param_soso}' or `eattribute1`  regexp '{$param_soso}' or `attribute2`  regexp '{$param_soso}' or `eattribute2`  regexp '{$param_soso}' or `attribute3`  regexp '{$param_soso}' or `eattribute3`  regexp '{$param_soso}' or `attribute4`  regexp '{$param_soso}' or `eattribute4`  regexp '{$param_soso}' ";
} else {
$param_where_sql .=" AND(  `content`  regexp '{$param_soso}' or `econtent`  regexp '{$param_soso}' or `name`  regexp '{$param_soso}' or `ename`  regexp '{$param_soso}' or `attribute1`  regexp '{$param_soso}' or `eattribute1`  regexp '{$param_soso}' or `attribute2`  regexp '{$param_soso}' or `eattribute2`  regexp '{$param_soso}' or `attribute3`  regexp '{$param_soso}' or `eattribute3`  regexp '{$param_soso}' or `attribute4`  regexp '{$param_soso}' or `eattribute4`  regexp '{$param_soso}'  )";
}
}
}
$param_sql="SELECT * FROM `hdsys_list`   ";
$param_db_array_value=$this->intelligence_db->intelligence_query($param_sql);
$param_namearraylist=array();
while ($param_value=$this->intelligence_db->intelligence_assoc($param_db_array_value)) {
$param_namearraylist[$param_value['id']]=array('name'=> $param_value['name']);
}
if ($param_where_sql !='') {
$param_where_sql="WHERE" . $param_where_sql;
}
$param_sql="SELECT `id`,`add_time`,`name`,`ename`,`pid`,`graph`,`browse`,`hot`,`static_url` FROM `hdsys_content`  {$param_where_sql}  ORDER BY`add_time`{$param_DESC} LIMIT {$param_db_ID},{$param_shu}";
$param_db_array_value=$this->intelligence_db->intelligence_query($param_sql);
$param_tmp_rows="select count(*)as 'hangshu' from `hdsys_content`  {$param_where_sql}   ";
$param_tmp_arr=$this->intelligence_db->intelligence_array($param_tmp_rows);
$param_tmp_rows=(int)$param_tmp_arr['hangshu'] + 1;;
$param_while_array_list_all=array();
while ($param_value=$this->intelligence_db->intelligence_assoc($param_db_array_value)) {
$param_array_list=array();
$param_ex_arr=explode(',', $param_value['pid']);
foreach ($param_ex_arr as $param_key) {
if (isset($param_namearraylist[$param_key])) {
$param_array_list[]=array('id'=> $param_key, 'name'=> $param_namearraylist[$param_key]['name']);
}
}
$param_value['pid_list']=$param_array_list;
$param_value['add_time']=call_my_date('Y-m-d H:i', $param_value['add_time']);
$param_while_array_list_all[]=$param_value;
}
$param_json_array=array();
$param_json_array[call_my_str_data()]=(array) $param_while_array_list_all;
$param_json_array[call_my_str_code()]=0;
$param_json_array[call_my_str_msg()]='';
$param_json_array[call_my_str_count()]=$param_tmp_rows;
print_json($param_json_array);
}
function call_get_form_modeles()
{
$param_templates=plug_Set_Data("" . 'templates');
if($param_templates=='en'){
$param_templates=bs_lib::get_configs_value('template', 'current_en');
}else{
$param_templates=bs_lib::get_configs_value('template', 'current');
}
$param_type=plug_Set_Data("" . 'relation');
$param_arr=Form_get_content($param_templates, $param_type);
$param_json_array=array();
$param_json_array[call_my_str_data()]=(array) $param_arr;
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='ok';
print_json($param_json_array);
}
function call_table_set_ajax()
{
$param_josn=set_post("" . 'josn');
$param_all=set_post("" . 'all');
$param_type=set_post("" . 'type');
if ($param_type==1) {
$param_sql="UPDATE `hdsys_content` SET `hot`='1' WHERE `id` IN({$param_all}); ";
$param_tmp=plug_query($param_sql);
if ($param_tmp) {
$param_json_array=array();
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='执行设置推荐成功';
print_json($param_json_array);
} else {
$param_json_array=array();
$param_json_array[call_my_str_code()]=-1;
$param_json_array[call_my_str_msg()]='执行设置推荐失败';
print_json($param_json_array);
}
}
if ($param_type==2) {
$param_sql="UPDATE `hdsys_content` SET `hot`='0' WHERE `id` IN({$param_all}); ";
$param_tmp=plug_query($param_sql);
if ($param_tmp) {
$param_json_array=array();
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='执行取消推荐成功';
print_json($param_json_array);
} else {
$param_json_array=array();
$param_json_array[call_my_str_code()]=-1;
$param_json_array[call_my_str_msg()]='执行取消推荐失败';
print_json($param_json_array);
}
}
if ($param_type==3) {
$param_sql="UPDATE `hdsys_content` SET `sdates`='1' WHERE `id` IN({$param_all}); ";
$param_tmp=plug_query($param_sql);
if ($param_tmp) {
$param_json_array=array();
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='执行设置隐藏成功';
print_json($param_json_array);
} else {
$param_json_array=array();
$param_json_array[call_my_str_code()]=-1;
$param_json_array[call_my_str_msg()]='执行设置隐藏失败';
print_json($param_json_array);
}
}
if ($param_type==4) {
$param_sql="UPDATE `hdsys_content` SET `sdates`='0' WHERE `id` IN({$param_all}); ";
$param_tmp=plug_query($param_sql);
if ($param_tmp) {
$param_json_array=array();
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='执行设置显示成功';
print_json($param_json_array);
} else {
$param_json_array=array();
$param_json_array[call_my_str_code()]=-1;
$param_json_array[call_my_str_msg()]='执行设置显示失败';
print_json($param_json_array);
}
}
if ($param_type==5) {
$param_sql="DELETE FROM `hdsys_content` WHERE  `id` IN({$param_all}); ";
$param_tmp=plug_query($param_sql);
if ($param_tmp) {
$param_json_array=array();
$param_json_array[call_my_str_code()]=1;
$param_json_array[call_my_str_msg()]='执行删除成功';
print_json($param_json_array);
} else {
$param_json_array=array();
$param_json_array[call_my_str_code()]=-1;
$param_json_array[call_my_str_msg()]='执行删除失败';
print_json($param_json_array);
}
}
}
}
